package com.gitee.wsl.ext.number

import kotlin.math.floor

internal fun mod(a: Float, b: Float) = a - b * floor(a / b)
internal fun mod(a: Double, b: Double) = a - b * floor(a / b)